import { req } from './axiosFun'

export const loginReq = function(params) {
    return req("post", "/login", params);
}

export const configReq = function (params) {
    return req("post", "/config", params);
}

export const serverReq = function (params) {
    return req("post", "/server", params);
}

export const gmReq = function(params) {
    return req("post", "/gm", params);
}

export const gmContentReq = function(params) {
    return req("post", "/gmContent", params);
}

export const gmExecReq = function(params) {
    return req("post", "/gmExec", params);
}

export const mysqlSelectReq = function(params) {
    return req("post", "/mysqlSelectReq", params);
}

export const sqlExecReq = function(params) {
    return req("post", "/sqlExecReq", params);
}

export const mysqlUpdateReq = function(params) {
    return req("post", "/mysqlUpdateReq", params);
}

export const jsLogReq = function(params) {
    return req("post", "/jsLog", params);
}

export const jsLogExecReq = function(params) {
    return req("post", "/jsLogExec", params);
}

export const jsModuleInfoReq = function(params) {
    return req("post", "/jsModuleInfo", params);
}

export const jsMoudleParamReq = function(params) {
    return req("post", "/jsModuleParam", params);
}

export const jsModuleExecReq = function(params) {
    return req("post", "/jsModuleExec", params);
}